package com.dt.app.modules.product.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2024-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("category_scene")
@ApiModel(value="CategoryScene对象", description="")
public class CategoryScene implements Serializable {

    private static final long serialVersionUID=145765879345L;

    @ApiModelProperty(value = "前端场景分类")
    @TableId(value = "category_scene_id", type = IdType.AUTO)
    private Integer categorySceneId;

    @ApiModelProperty(value = "企业")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "父id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "名称")
    @TableField("sname")
    private String sname;

    @ApiModelProperty(value = "标题图片")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "说明介绍")
    @TableField("msg")
    private String msg;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}